<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_err_psm.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__err__psm_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_err_psm.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains error management code which is common for both versal and versal net PLM. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
====  ==== ======== ======================================================-
1.00  sk   02/20/2025 Initial release</pre><pre></pre><dl class="section note"><dt>Note</dt><dd></dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0ee59c3d2bbba414ea3c9c7a5e0e3381"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xplmi__err__psm_8c.html#a0ee59c3d2bbba414ea3c9c7a5e0e3381">XPlmi_ErrPSMIntrHandler</a> (u32 ErrorNodeId, u32 RegMask)</td></tr>
<tr class="memdesc:a0ee59c3d2bbba414ea3c9c7a5e0e3381"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for PSM Errors.  <a href="#a0ee59c3d2bbba414ea3c9c7a5e0e3381">More...</a><br/></td></tr>
<tr class="separator:a0ee59c3d2bbba414ea3c9c7a5e0e3381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c542633bc01d451b593127419fce374"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xplmi__err__psm_8c.html#a6c542633bc01d451b593127419fce374">XPlmi_EmDisablePsmErrors</a> (u32 RegOffset, u32 RegMask)</td></tr>
<tr class="memdesc:a6c542633bc01d451b593127419fce374"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the PSM error actions for the given mask.  <a href="#a6c542633bc01d451b593127419fce374">More...</a><br/></td></tr>
<tr class="separator:a6c542633bc01d451b593127419fce374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3827194b7dbb96569c6695a73701465"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xplmi__err__psm_8c.html#ab3827194b7dbb96569c6695a73701465">XPlmi_PsEmInit</a> (void)</td></tr>
<tr class="memdesc:ab3827194b7dbb96569c6695a73701465"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the PSM error actions.  <a href="#ab3827194b7dbb96569c6695a73701465">More...</a><br/></td></tr>
<tr class="separator:ab3827194b7dbb96569c6695a73701465"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a6c542633bc01d451b593127419fce374"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XPlmi_EmDisablePsmErrors </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RegOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RegMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables the PSM error actions for the given mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">RegOffset</td><td>is the offset for the PSM ERR1 errors </td></tr>
    <tr><td class="paramname">RegMask</td><td>is the register mask of the error to be disabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS on success.</li>
<li>XPLMI_ERROR_ACTION_NOT_DISABLED if error action is not disabled. </li>
</ul>
</dd></dl>
<ul>
<li>Disable all PSM error actions. </li>
</ul>

<p>References <a class="el" href="group__xilplmi__server__apis.html#ga42dddd782b26464205ec6c7d1bde093e">EmDisableErrAction()</a>.</p>

<p>Referenced by <a class="el" href="group__xilplmi__server__apis.html#ga5b1ebbf8a9a571e76eec11e8e3d7fd63">XPlmi_EmDisable()</a>, and <a class="el" href="xplmi__err__psm_8c.html#ab3827194b7dbb96569c6695a73701465">XPlmi_PsEmInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a0ee59c3d2bbba414ea3c9c7a5e0e3381"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPlmi_ErrPSMIntrHandler </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ErrorNodeId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RegMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the interrupt handler for PSM Errors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ErrorNodeId</td><td>is the node ID for the error event </td></tr>
    <tr><td class="paramname">RegMask</td><td>is the register mask of the error received</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>None </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__xilplmi__server__apis.html#ga5318b3d7b02f3f620c32002dd295426f">XPlmi_GetErrorTable()</a>.</p>

<p>Referenced by <a class="el" href="group__xilplmi__server__apis.html#ga3847faa9361981c4b856e3ccd5fe959a">XPlmi_ErrorTaskHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ab3827194b7dbb96569c6695a73701465"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XPlmi_PsEmInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes the PSM error actions. </p>
<p>Disables all the PSM error actions and registers default action.</p>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS always. </li>
</ul>
</dd></dl>
<ul>
<li>Disable all the Error Actions.</li>
<li>Clear the error status registers.</li>
<li>Set the default actions as defined in the Error table.</li>
</ul>

<p>References <a class="el" href="xplmi__err__psm_8c.html#a6c542633bc01d451b593127419fce374">XPlmi_EmDisablePsmErrors()</a>, <a class="el" href="group__xilplmi__server__apis.html#ga46e363e358a8e759968bd22d9d73748e">XPlmi_EmSetAction()</a>, and <a class="el" href="group__xilplmi__server__apis.html#ga5318b3d7b02f3f620c32002dd295426f">XPlmi_GetErrorTable()</a>.</p>

<p>Referenced by <a class="el" href="group__xilplmi__server__apis.html#ga096c3ab59b174d7abd84700c70debaa7">XPlmi_LpdInit()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
